package com.project.bean;

public class UserBean {
    /** 用户id*/
    private int id;
    /** 用户姓名*/
    private String name;
    /** 用户密码*/
    private String pwd;
    /** 昵称*/
    private String nickname;

    public String getNickname() {
        return nickname;
    }
    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public UserBean() {
    }

    public UserBean(int id, String name, String pwd, String nickname) {
        this.id = id;
        this.name = name;
        this.pwd = pwd;
        this.nickname = nickname;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", pwd='" + pwd + '\'' +
                ", nickname='" + nickname + '\'' +
                '}';
    }
}
